﻿@model List<XPressify.Models.ListEventModel>
@using XPressify.Controllers
@using Omu.Awesome.Core;
@using Omu.Awesome.Mvc.Helpers;


@{
    ViewBag.Title = "Events";
}

<table>

@foreach (var item in Model)
{
    <tr>
        <td style="text-align:center;word-break:break-all">
            <div style="font-weight:bolder;font-size:14px">@Html.ActionLink(item.EventModel.Name, "EventDetails", "Event", new { id = item.EventModel.Id }, new { @class = "nobtn" })</div>
            @item.EventModel.StartDate - @item.EventModel.EndDate
            <br />
            @item.EventModel.Location
        </td>
    </tr>
}
</table>
